package com.fruitsales.adress.pojo;

public class adress {
    private Integer aid;

    private String uname;

    private String phone;

    private String adress1;

    private String adress2;

    private Integer uid;
    
    public adress() {
		super();
	}

	public adress(String uname, String phone, String adress1, String adress2, Integer uid) {
		super();
		this.uname = uname;
		this.phone = phone;
		this.adress1 = adress1;
		this.adress2 = adress2;
		this.uid = uid;
	}
	
	public adress(Integer aid, String uname, String phone, String adress1, String adress2, Integer uid) {
		super();
		this.aid = aid;
		this.uname = uname;
		this.phone = phone;
		this.adress1 = adress1;
		this.adress2 = adress2;
		this.uid = uid;
	}

	public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname == null ? null : uname.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getAdress1() {
        return adress1;
    }

    public void setAdress1(String adress1) {
        this.adress1 = adress1 == null ? null : adress1.trim();
    }

    public String getAdress2() {
        return adress2;
    }

    public void setAdress2(String adress2) {
        this.adress2 = adress2 == null ? null : adress2.trim();
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

	@Override
	public String toString() {
		return "adress [aid=" + aid + ", uname=" + uname + ", phone=" + phone + ", adress1=" + adress1 + ", adress2="
				+ adress2 + ", uid=" + uid + "]";
	}
}